/**
 * 
 */

package com.pp.admin.common.client.beans;

import java.io.Serializable;

/**
 * @author pandurang
 */
public class Phone extends BaseBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 279308309829281140L;

	public static final byte TYPE_HOME = 1;

	public static final byte TYPE_OFFICE = 2;

	public static final byte TYPE_MOBILE = 3;

	public static final byte TYPE_FAX = 4;

	public static final byte TYPE_OTHER = 5;

	private long id;

	private String phoneNo;

	private byte phoneType;

	private boolean primary = false;

	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the phoneNo
	 */
	public String getPhoneNo() {

		return phoneNo;
	}

	/**
	 * @param phoneNo
	 *            the phoneNo to set
	 */
	public void setPhoneNo(String phoneNo) {

		this.phoneNo = phoneNo;
	}

	/**
	 * @return the phoneType
	 */
	public byte getPhoneType() {

		return phoneType;
	}

	/**
	 * @param phoneType
	 *            the phoneType to set
	 */
	public void setPhoneType(byte phoneType) {

		this.phoneType = phoneType;
	}

	/**
	 * @return the primary
	 */
	public boolean isPrimary() {

		return primary;
	}

	/**
	 * @param primary
	 *            the primary to set
	 */
	public void setPrimary(boolean primary) {

		this.primary = primary;
	}

}
